const mutations = {
    setIsLogin(state, payload) {
        state.user.isLogin = payload;
        location.reload();
    },
    addCart(state, payload) {
        state.cartNum = payload.count;
    }
}

export default mutations;